//: net/mindview/util/ThreeTuple.java
package t4j.net.mindview.util;

public class ThreeTuple<A,B,C> extends TwoTuple<A, B>{
	public final C third;
	

	public ThreeTuple(A a,B b, C c) {
		
		super(a, b);
		
		this.third = c;
		
	}
	

	@Override
	public String toString() {
		
		return "{" + first + ", " + second + ", " + third + "}";
	}
	
	public static void main(String[] args) {
		ThreeTuple<Integer,String,Double> a = new ThreeTuple<Integer, String, Double>(15, "=", 15.0);
		
		System.out.println(a);
	}
}